package tourist.springboot.service;

import tourist.springboot.domain.Foods;

import java.util.List;

/**
 * Foods 业务接口层
 *
 * Created by wangzg on 30/09/2017.
 */
public interface FoodsService {
    /**
     * 获取所有 Foods
     */
    List<Foods> findAll();

    List<Foods> findFoods(List<String> ids);

    /**
     * 新增 Foods
     */
    Foods insert(Foods food);

    /**
     * 更新 Foods
     *
     */
    Foods update(Foods food);

    /**
     * 删除 Foods
     *
     */
    Foods delete(String id);

    /**
     * 获取 Foods
     */
    Foods findById(String id);
}
